package com.tz.crm.entity.dto;

/**
 * Created by wangchunyang on 2017/3/7.
 * ajax验证结果对象
 */
public class AjaxResult {

    boolean success; // 操作成功标记位;
    String message; // 结果字符串

    public AjaxResult(){

    }

    public boolean isSuccess() {
        return success;
    }

    public String getMessage() {
        return message;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "AjaxResult{" +
                "success=" + success +
                ", message='" + message + '\'' +
                '}';
    }
}
